import { loadGltf } from '../three-utils';

/**
 * 加载酒店
 * 大概几千个面
 * @returns
 */
export const loadHotel = () => {
  return loadGltf({
    modelPath: '/model/hotel/model.glb',
  }).then((gltf) => {
    const group = gltf.scene;
    group.children.forEach((mesh) => {
      mesh.material.color.set('#ccc');
    });
    return group;
  });
};
